#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
int main()
{
	int n1 = 0;
	int n2 = 1;
	int num;
	int a = 1;
	while (a <= 15)
	{
		if (a < 2)
		{
			printf("%d ", n2);
			a++;
		}
		else
		{
			num = n1 + n2;
			printf("%d ", num);
			n1 = n2;
			n2 = num;
			a++;
		}
	}
	return 0;
}